<!--
// Copyright © 2025 Hardcore Engineering Inc.
//
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. You may
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
-->

<script lang="ts">
  import { IconSize } from '@hcengineering/ui'
  export let fill: string = 'currentColor'

  export let size: IconSize = 'small'
</script>

<svg class="svg-{size}" {fill} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
  <path
    d="M2.75571 10.3721C2.67505 8.16892 3.82845 6.21211 5.51842 4.81037C7.21886 3.39994 9.35454 2.64423 11.05 2.76018C11.9385 2.82094 12.8149 2.98182 13.6797 3.19064C14.7797 3.51647 16.6649 4.60069 17.7603 6.12395C18.6923 7.42004 19.0162 8.74543 19.0911 9.14216L20.5651 8.86401C20.4666 8.34186 20.0827 6.78423 18.9781 5.2482C17.6529 3.40536 15.4516 2.14469 14.0834 1.74586C14.0069 1.72679 13.9314 1.70778 13.8565 1.68894C12.9854 1.46987 12.2042 1.27339 11.127 1.26199C8.39779 1.23312 6.48237 2.06199 4.5608 3.65584C2.62441 5.26196 1.1593 7.62561 1.25622 10.4132C1.25812 12.2248 1.64051 13.5796 2.21557 14.6627C2.69647 15.5686 3.29897 16.2569 3.85452 16.8334L3.05433 19.7384C2.88102 20.3679 3.51935 20.8887 4.09404 20.6353L7.40538 19.1733C7.87457 19.3317 8.33732 19.4723 8.8072 19.586L9.16015 18.1281C8.54145 17.9784 7.93959 17.7727 7.3393 17.5628L4.91459 18.6333L5.53026 16.3982L5.22549 16.0898C4.60039 15.4573 3.9989 14.8229 3.54043 13.9594C3.08809 13.1073 2.75622 11.9931 2.75622 10.3996V10.3859L2.75571 10.3721Z"
  />
  <path
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M22.2645 18.4346C23.8127 15.061 21.4542 11.3919 18.3526 10.5041C16.8345 10.0007 15.1435 10.203 13.7238 10.8708C12.2987 11.5412 11.0662 12.7196 10.5459 14.2602C9.54062 17.2366 11.4209 20.8545 14.6395 21.8814C15.9617 22.3032 17.5346 22.1569 18.1927 21.9491C18.431 22.0161 18.7158 22.1372 19.0197 22.2664C19.7954 22.5963 20.6952 22.979 21.2615 22.6468C21.5475 22.479 21.6604 22.1705 21.6471 21.8546C21.6294 21.4301 21.573 21.0054 21.5167 20.5813C21.4805 20.3088 21.4443 20.0367 21.4185 19.7651C21.7475 19.356 22.0453 18.9123 22.2645 18.4346ZM11.9671 14.7402C12.3308 13.6633 13.226 12.7627 14.3623 12.2282C15.4988 11.6936 16.7959 11.564 17.8928 11.932L17.9099 11.9377L17.9273 11.9426C20.3341 12.6228 21.9859 15.4235 20.9068 17.7968C20.633 18.3376 20.2858 18.8072 19.8658 19.2409C19.9138 19.791 19.9655 20.3406 20.03 20.889C19.7776 20.8166 19.5238 20.7496 19.2701 20.6826C18.8945 20.5833 18.5189 20.4841 18.148 20.3677L17.9034 20.4622C16.9745 20.8209 15.9738 20.7129 15.0414 20.436C12.3639 19.7416 11.2065 16.9918 11.9671 14.7402Z"
  />
</svg>
